package cn.alcatraz.department.domain;

import lombok.Data;

@Data
public class Department {

    //主键
    private Long id;
    //部门编号
    private String sn;
    //部门名称
    private String name;
    //上级部门路径
    private String dirPath;
    //状态
    private Integer state;
    //部门管理员
    private Long manager_id;
    //上级部门Id
    private Long parent_id;

    //添加部门经理对象字段
    private Employee manager;

    //添加上级部门对象字段
    private Department parent;
}
